//设置零点
$("#zeroSetbtn").on('click', function() {
	//通信
	if(workerObj_normal) {
		workerObj_normal.postMessage("setZeroP:");
		log("已零点标定");
	}
});


$('#emergencyBrake').on("click",function(){
	// console.log(123);
	$("#notice").toggle();
});

$("#openBreakBtn").on("click",function(){//是 强制打开刹车
	console.log(123);
	if(workerObj_normal) {
					workerObj_normal.postMessage("setBrake:on");
				}
	$('#notice').css("display",'none');
});
$("#closeBreakBtn").on("click",function(){//否 关闭刹车
	console.log(123);
	if(workerObj_normal) {
					workerObj_normal.postMessage("setBrake:off");
				}
	$('#notice').css("display",'none');
});

$("#noticeCancel").on("click",function(){
	console.log(123);
	$('#notice').css("display",'none');
});
